<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
</head>

<body>
    <!-- 登录&注册界面 -->
    <div id="controlpage">
        <div class="main-control-box">
            <!-- 关闭按钮 -->
            <div class="iconfont icon-guanbi closeReg" onclick="closeReg()"></div>
            <!-- 登陆&注册切换按钮 -->
            <div class="control-header">
                <div class="control-nav">登录</div>
                <div class="control-nav">注册</div>
            </div>
            <div class="control-content" id="clearFrom">
                <!-- 登录内容块 -->
                <div class="control-wrap login-content">
                    <input type="text" placeholder="请输入邮箱" maxlength="32" class="text" id="loginEmail">
                    <span class="span"></span>
                    <input type="text" placeholder="请输入用户名（4-18位）" maxlength="18" class="text" id="loginUsername">
                    <span class="span"></span>
                    <input type="password" placeholder="请输入登录密码（6-12位）" maxlength="12" class="password"
                        id="loginPassword">
                    <span class="span"></span>
                    <div class="forgot"><a>忘记密码</a></div>
                    <input type="submit" value="登录" class="btn login-btn" id="loginBtn" onclick="login()"></input>
                </div>
                <!-- 注册内容块 -->
                <div class="control-wrap register-content">
                    <input type="text" placeholder="请输入注册邮箱" class="text" id="regEmail">
                    <span class="span"></span>
                    <div class="verification">
                        <input type="text" placeholder="请输入验证码" maxlength="6" class="verification-code" id="verifyCode">
                        <input type="submit" value="发送验证码" class="verification-btn" onclick="verify()">
                    </div>
                    <span class="span"></span>
                    <input type="text" placeholder="请设置用户名（4-18位）" maxlength="18" class="text" id="regUsername">
                    <span class="span"></span>
                    <input type="password" placeholder="请设置登录密码（6-12位）" maxlength="12" class="password"
                        id="regPassword">
                    <span class="span"></span>
                    <input type="password" placeholder="请再次确认登录密码" maxlength="12" class="password" id="repassword">
                    <span class="span"></span>
                    <input type="submit" value="注册" class="btn reg-btn" id="regBtn" onclick="register()"></input>
                </div>
            </div>
        </div>
    </div>
    <!-- 遮盖层 -->
    <div id="bg" class="bg"></div>
</body>

</html>